﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Curves
{
	public partial class ToCardinalForm : Form
	{		
		public int Samples
		{
			get { return samples; }
		}
		private int samples;

		public ToCardinalForm()
		{
			InitializeComponent();
			//
			samples = (int)samplesNumUpDown.Value;
		}

		private void samplesNumUpDown_ValueChanged(object sender, EventArgs e)
		{
			samples = (int)samplesNumUpDown.Value;
		}

		private void okBtn_Click(object sender, EventArgs e)
		{
			this.DialogResult = DialogResult.OK;
		}

		/*
		private void okBtn_Click(object sender, EventArgs e)
		{
			samplesNumUpDown_ValueChanged(sender, e);
		}
		*/
	}
}
